import request from "@/utils/request";

// 获取渠道列表
export function getPageDataApi(data) {
  return request({
    url: "/api/audit.config/index",
    method: "post",
    data: data,
  });
}

export function readApi(data) {
  return request({
    url: "/api/audit.config/read",
    method: "post",
    data: data,
  });
}

export function createApi(data) {
  return request({
    url: "/api/audit.config/create",
    method: "post",
    data: data,
  });
}

export function saveApi(data) {
  return request({
    url: "/api/audit.config/save",
    method: "post",
    data: data,
  });
}

export function deleteApi(data) {
  return request({
    url: "/api/audit.config/delete",
    method: "post",
    data: data,
  });
}

export function setProcessApi(data) {
  return request({
    url: "/api/audit.config/setProcess",
    method: "post",
    data: data,
  });
}

